package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:45
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelServiceTemplateItemDAO
    extends IDataAccessInterface<ProductModelServiceTemplateItem, ProductModelServiceTemplateItemDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.ID";

    /**
     * Mapped Field SERVICE_TEMPLATE_ID
    */
    static final String ServiceTemplateId = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.SERVICE_TEMPLATE_ID";

    /**
     * Mapped Field TEMPLATE_ITEM_NAME
    */
    static final String TemplateItemName = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.TEMPLATE_ITEM_NAME";

    /**
     * Mapped Field SERVICE_NAME_TEMPLATE
    */
    static final String ServiceNameTemplate = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.SERVICE_NAME_TEMPLATE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_SERVICE_TEMPLATE_ITEM.REMARKS";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelServiceTemplateItem findById(final long id)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute serviceTemplateId
         */
        static final String ServiceTemplateId = "serviceTemplateId";

        /**
         * Attribute templateItemName
         */
        static final String TemplateItemName = "templateItemName";

        /**
         * Attribute serviceNameTemplate
         */
        static final String ServiceNameTemplate = "serviceNameTemplate";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
